CVE-2024-26964
"Linux Kernel USB XHCI NULL Pointer Dereference"
Description
In the Linux kernel, the following vulnerability has been resolved: usb: xhci: Add error handling in xhci_map_urb_for_dma Currently xhci_map_urb_for_dma() creates a temporary buffer and copies the SG list to the new linear buffer. But if the kzalloc_node() fails, then the following sg_pcopy_to_buffer() can lead to crash since it tries to memcpy to NULL pointer. So return -ENOMEM if kzalloc returns null pointer.
INFO
Published Date :
May 1, 2024, 6:15 a.m.
Last Modified :
Dec. 23, 2024, 1:41 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to a patched version.
- Reboot the system to apply the kernel update.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-26964
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-26964
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-26964
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-26964
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-26964
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Dec. 23, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.154 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.84 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.24 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8 up to (excluding) 6.8.3 Changed Reference Type https://git.kernel.org/stable/c/4a49d24fdec0a802aa686a567a3989a9fdf4e5dd No Types Assigned https://git.kernel.org/stable/c/4a49d24fdec0a802aa686a567a3989a9fdf4e5dd Patch Changed Reference Type https://git.kernel.org/stable/c/4a49d24fdec0a802aa686a567a3989a9fdf4e5dd No Types Assigned https://git.kernel.org/stable/c/4a49d24fdec0a802aa686a567a3989a9fdf4e5dd Patch Changed Reference Type https://git.kernel.org/stable/c/620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4 No Types Assigned https://git.kernel.org/stable/c/620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4 Patch Changed Reference Type https://git.kernel.org/stable/c/620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4 No Types Assigned https://git.kernel.org/stable/c/620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4 Patch Changed Reference Type https://git.kernel.org/stable/c/7b6cc33593d7ccfc3011b290849cfa899db46757 No Types Assigned https://git.kernel.org/stable/c/7b6cc33593d7ccfc3011b290849cfa899db46757 Patch Changed Reference Type https://git.kernel.org/stable/c/7b6cc33593d7ccfc3011b290849cfa899db46757 No Types Assigned https://git.kernel.org/stable/c/7b6cc33593d7ccfc3011b290849cfa899db46757 Patch Changed Reference Type https://git.kernel.org/stable/c/962300a360d24c5be5a188cda48da58a37e4304d No Types Assigned https://git.kernel.org/stable/c/962300a360d24c5be5a188cda48da58a37e4304d Patch Changed Reference Type https://git.kernel.org/stable/c/962300a360d24c5be5a188cda48da58a37e4304d No Types Assigned https://git.kernel.org/stable/c/962300a360d24c5be5a188cda48da58a37e4304d Patch Changed Reference Type https://git.kernel.org/stable/c/b2c898469dfc388f619c6c972a28466cbb1442ea No Types Assigned https://git.kernel.org/stable/c/b2c898469dfc388f619c6c972a28466cbb1442ea Patch Changed Reference Type https://git.kernel.org/stable/c/b2c898469dfc388f619c6c972a28466cbb1442ea No Types Assigned https://git.kernel.org/stable/c/b2c898469dfc388f619c6c972a28466cbb1442ea Patch Changed Reference Type https://git.kernel.org/stable/c/be95cc6d71dfd0cba66e3621c65413321b398052 No Types Assigned https://git.kernel.org/stable/c/be95cc6d71dfd0cba66e3621c65413321b398052 Patch Changed Reference Type https://git.kernel.org/stable/c/be95cc6d71dfd0cba66e3621c65413321b398052 No Types Assigned https://git.kernel.org/stable/c/be95cc6d71dfd0cba66e3621c65413321b398052 Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/4a49d24fdec0a802aa686a567a3989a9fdf4e5dd Added Reference https://git.kernel.org/stable/c/620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4 Added Reference https://git.kernel.org/stable/c/7b6cc33593d7ccfc3011b290849cfa899db46757 Added Reference https://git.kernel.org/stable/c/962300a360d24c5be5a188cda48da58a37e4304d Added Reference https://git.kernel.org/stable/c/b2c898469dfc388f619c6c972a28466cbb1442ea Added Reference https://git.kernel.org/stable/c/be95cc6d71dfd0cba66e3621c65413321b398052 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 01, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: usb: xhci: Add error handling in xhci_map_urb_for_dma Currently xhci_map_urb_for_dma() creates a temporary buffer and copies the SG list to the new linear buffer. But if the kzalloc_node() fails, then the following sg_pcopy_to_buffer() can lead to crash since it tries to memcpy to NULL pointer. So return -ENOMEM if kzalloc returns null pointer. Added Reference kernel.org https://git.kernel.org/stable/c/4a49d24fdec0a802aa686a567a3989a9fdf4e5dd [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b2c898469dfc388f619c6c972a28466cbb1442ea [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/962300a360d24c5be5a188cda48da58a37e4304d [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7b6cc33593d7ccfc3011b290849cfa899db46757 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/be95cc6d71dfd0cba66e3621c65413321b398052 [No types assigned]